package simplefactory.fruits;

import simplefactory.fruits.abstracts.Fruits;

import java.math.BigDecimal;

/**
 * @ClassName: Apple
 * @Description: 苹果
 * @Date: 2021/1/12 14:12
 * @Author: Song JinGen
 */
public class Apple extends Fruits {
    public Apple(){
        name = "苹果";
        cost = new BigDecimal("2.5");
    }

    @Override
    public void box(){
        System.out.println("精美礼盒打包中...");
    }
}
